package micro.web;

import lombok.Data;

/**
 * @author txw
 * @version V1.0
 * @Title: Board
 * @ProjectName micro-sleuth-server
 * @Description: 描述
 * @since 2018/7/4 22:09
 */
@Data
public class Board {
    private int count;
    private int num;

    public Board(int count, int num) {
        this.count = count;
        this.num = num;
    }

    public int calcValue(){
        return (count+num)*num*count;
    }
    public Board getNext(int count,int i){
        return new Board(count,i);
    }
}
